﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Zor_DAL;

namespace Zor_Bll
{
    public class HouseRegister_Bll<T> where T :class
    {

        /// <summary>
        /// 房屋登记统计图表
        /// </summary>
        /// <param name="index">页码</param>
        /// <param name="TotalCount">返回值</param>
        /// <returns></returns>
        public static List<T> GetPageList(int index, out int TotalCount, string where)
        {

            return PagerHelp<T>.GetPagerList(index, "V_HouseRegister", "Dt_Id", out TotalCount, where);
        }

        /// <summary>
        /// 获取房屋登记统计柱状图数据
        /// </summary>
        /// <returns></returns>
        public static List<T> GetHRList()
        {
            return HouseRegister_DAL<T>.GetHRList();
        }

    }
}
